
// 获取任何一个对象
function back_everyObj(obj_id){
	return document.getElementById(obj_id);
}

function changeUrl(value,data){
 console.log(value);

	switch(value.id){
		case "fang":
		console.log("方形"+"--------"+data);
		back_everyObj("mubu").src=data;
		break;

		case "zhi":
		console.log("直圈"+"--------"+data);
		back_everyObj("mubu").src=data;
		
		break;

		case "nian":
		console.log("长径比"+"--------"+data);
		back_everyObj("mubu").src=data;
		break;

		default:
    	alert( "I don't know such values" );


	}
	
	

}
